﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

using Toom.CellularAutomata.Debug;


namespace Toom.CellularAutomata.GUI
{
	static class Program
	{
		/// <summary>
		/// The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main()
		{
			CADebugger.DebugPrintLine( CADebugger.DebugMessageSource.Default, "\r\n\r\n--------------------------------------------------------------------" );
			CADebugger.DebugPrintLine( CADebugger.DebugMessageSource.Default, "new run at " + DateTime.Now );
			CADebugger.DebugPrintLine( CADebugger.DebugMessageSource.Default, "--------------------------------------------------------------------\r\n\r\n" );

			Application.EnableVisualStyles();
			Application.SetCompatibleTextRenderingDefault(false);
			Application.Run( new FormCAMAIN() );

			CADebugger.DebugPrintLine( CADebugger.DebugMessageSource.Default, "\r\n\r\n--------------------------------------------------------------------" );
			CADebugger.DebugPrintLine( CADebugger.DebugMessageSource.Default, "run finishing at " + DateTime.Now );
			CADebugger.DebugPrintLine( CADebugger.DebugMessageSource.Default, "--------------------------------------------------------------------\r\n\r\n" );
		}
	}
}
